templated pages and beans.
cleaned up header. added example pages.