initial commit of old version
first refactoring: use headers and makefile
add binary to gitignore
more refactoring