Added exceptions for invalid parentTypes, began writing description in __init__

Signed-off-by: Nathan <nzhang32@gmail.com>