Use ORM approach to db interaction creating models classes