Where do I put code for my own types?

If you've written them as plugins (which is a nice, portable idea). Otherwise in lib/

Michael Glaesemann grzm seespotcode net