Changes to ORNG.  Removed appregistry finally!
Bug in SQL
bug fixes and documentatoin