set up for main route/model/ctrl on server side