Added Java file for creating instances of database connections.