Made stuff cleaner

Renamed to match better conventions. Added genmake system. Pulled Makefile up to top directory. Fixed initial compile errors.

Run `make genmake` followed by `make` to build.