Add simple Makefile. Add SysV init script. Clean up code