Changed the implementation of the repositories so that they use a hashmap not a list so the repository can say what the id is of the object. Not contained in the entity as it was before.
tiny refactor, removed some comments and unused imports
changed the way that id are generated, no longer created by the repository on save but returned when asked.