Database Connector class

**Untested**
Connect to DB and check for gym access and access to particular tool.