added button for connection
added class for connecting with database