Initial Commit

Working backend, cli and rudimentary web interface
New web interface

- improved web interface (now under /web), using a simple json webservice
- added wrapper shell script to monitor the listener and restart it if it dies
- close the file handle after writing every log. This is inefficient, but should be ok for now
- added support for resetting the cache (listener and web UI)