changed debug ast to json, split source/header (no longer unity build)
added generation of CPP side C shims for member functions