Added Frame def, basic codegen, comments