Add static lib and fix all the makefiles
Add .gitignore