Started to work on the orm model.
Added the model code, but haven't tested it in any way. Also replace to amourDB.