tons of changes

made a bunch of changes to support cakephp on the server
?