db.tcpServer is unused in the code base
Externalised the database configuration