Implement model repository

Add functionality to model repository

I wasnt able to create a hashmap to store models. For some reason
calling _models.put(model.getName(), model) was not adding and entry to
the hashmap.
Model clean up