added controller interface
added __toString method, removed send() method, changed handling of content type and added handling of debug
modified respond method to make use of __toString, removed extraneous whitespace
added abstract controller