create route and event handler skeletons