setup main route and goal controller