simplify cppgen
first step in serializing interface info (to separate from cpp generation)
remove unused functions from cppgen
cleaned up minor formatting in cppgen
cleanup datatype representation