Implementation of adding new items to the database