def parseSubject(line):
    """Parses the line with subject's information

    Splits the line appropriately to name, hourlyAllowance, prerequisites
    and domain
    """
    logicalChunks = line.split(':')

    prerequisites = logicalChunks[2].split(',')

    parsedLine = [logicalChunks[0], logicalChunks[1], prerequisites, logicalChunks[3].strip()]

    return parsedLine