[WIP] Refactoring repository

Bug fix: [no]
Feature addition: [no]
Backwards compatibility break: [yes]
Unit test passes: [yes|no]
Specs passes: [yes|no]
Replaced unit test classes removed: [yes|no]
Behat scenario passes: [yes|no]
Checkstyle issues: [yes|no]*
ChangeLog updated: [yes|no]

Documentation PR: 
In order to forbid to have getRepository('MyClassName') everywhere and to be more consistent on what we need to use in our classes.