extract tab type class into own files
move route state settings into constant