Setup database connectivity, added classes for handle database request for admin panel.