adds tricks and posts index routes, controller actions, and pages