Creation of database