code clean up; renamed page controller class to page; output function now implodes array if passed.
rename page controller class