Mooving functions from helpers.py and objectsDB.py to a new file functions.py