Created custom query engine for the lj database.  Still a bit of work to do on it.  Fixed a couple of bugs in the resio module.