adding services and repositories