Ruby Datamapper models for moodle database access