Added some get and set methods to object classes, and I started on datab...

...ase querying.