basic functionalities

database connection.
done job for inserting into db the main information