Initial commit
General refactoring
added logout functionality
added a readme
added javadocs