Created Makefile for compilation.
Fixed references inside cpp files.
Merge pull request #1 from NumberNoid/master

Improve source to allow compilation