Renamed Store to Repository
Some small fixes and refactorings
Implemented loader/batch framework