Fixed a lot of non-standard conforming code.
Cleaned up the whole repository.
Added CMake support.
Merge pull request #3 from eXpl0it3r/feature/cmake

Added CMake support