Fixed bugs in the web application

Also included README file. The README file is still empty. Issue #6