add repository classes
configure repositories as services
inject repositories instead of using entitymanager
use repository instead of entitymanager
Merge pull request #39 from tvlooy/repositories

Hooray for abstraction!