only send status code when deleting a object from db
tmp fix to make models accessible from outside module