Create connecting to database