Changing app to use sourceDir for routes and definition file locations