Fixed miscellaneous issues

-Added makefile
-updated method declaration
-fixed a number of include statements
Please add this to LIBS and not linker flags.