Added some comments and added a repository class