Established MySql connection. Added CRUD methods to entities.