The first funcionality of database

This is  the first no safe version of database connectivity.