1) Added Interface Methods for regulary requests.

2) Extracted Interface for file lock to improve testability.
3) Added Tests for serialization of RequestEntities referencign regulary requests.
4) Splittet repositorytests for differenz entities and base functionality.