Added default paths, exceptions, and php5 oop

Also removed the newline implosion. The whole idea is to compress the input, not make it larger again.