def parseLecturer(line):
    """Parses the line with lecturer's information

    Splits the line appropriately to firstName, lastName, specialization, 
    preferedDates and residence
    """
    logicalChunks = line.split(':')

    name = logicalChunks[0].split(' ')
    subjects = logicalChunks[1].split(',')
    preferedDates = logicalChunks[2].split(',')

    parsedLine = [name[0], name[1], subjects, preferedDates, logicalChunks[3].strip()]

    return parsedLine