added the database class
can iterate over object properties now
added the filter argument for the Object::prop() func