Mark functions as static
Rework makefile
Add vim modeline