Made a little progress. Working on making some optimizations for compilation time sake. Then I'll fix the memory leaks