added supervisor class, fixed parser, changed some custom threadsafe has...

...hes and arrays to use the thread_safe gem, removed pry-rails gem, removed some unused methods