Some refactor, renaming and added Model.getById and Model.getBy. Still need Sqlite.getBy to work