Fixed miscellaneous issues

-Added makefile
-updated method declaration
-fixed a number of include statements
I do not know whether it uses those libraries.....That is what was put in the makefile by Paladin.