refactored the app.ts files so they are easier to work with at the same time and added first spike of top level tabs (which don't quite work yet so commented out in index.html)