Add RecordCodegen parsing and split main.cpp

Split main.cpp into Operators.h/.cpp , GetValueFunction.h/.cpp ,
Types.h/.cpp