Added object classes

A number of new classes, as well as the first stab at filters.

Probably, these things should be re-organized, at present they are very
messy.