Fixed miscellaneous issues

-Added makefile
-updated method declaration
-fixed a number of include statements
Please wrap these lines (the same way lines are wrapped in HaikuPorts).