Added a pages controller
Modified a bunch to make autotest and growl work