Finished the integrated parser and server
Fixed freeing issues