fix problems with libs
proper makefile, improved readme