Makefiles now properly compile all files, added unit testing for unit class