Added possibility to insert items in the database.