Added several repositories, started tests of data layer and mocking