added a basic web interface
cleanup and adding database support
added support for the webapp
made parser more robust