bug fix: the old routes attr_accessor has now been replaced with get_routes and post_routes.