Refactored and fixed compiler errrors.
Fixed compile time errors.
Inital commit of the makefile.
Added an example test.