Compile into static library instead of executable
Fix dependencies in makefile
Delete main.cpp
Edit README.md