added source for router/app and fixed route rendering issues