cleaned some code as well fixed a bug in the application, and added a README.md file