Refactored connection of reactivemongo outside of Actor. Reused in integration testing connection to insert the mock registers