clean up services and repositories