Connection with database

Made connection with the database
Database

Added database for offline usage