extract persistence component
add new dependencies to security. Add annotations for authorisation. Follow up implementations of entities and services