took out some debugging  code, added ability to do sql and class work remotely