Static file minor code refactoring.
Implement a static resources cache.
Implement system integration with a command-line and a Makefile.

Also fix things here and there and re-organise the source tree.
Implement `stop` and `pid` commands, with a pidfile.