add interface
Merge pull request #30 from Politiken/create-one-repository-factory

add interface