integration refactoring

you can take a look at the integration in the external server with different database https://github.com/clouway/telcong.bss/pull/862