added a pages controller
finished basic pages setup