Finished app.

TODO: Comment the rest of the code and create java-docs