refactored a bunch of stuff to make it work nicer, only structs are working but now ast files are printing out how they should