Rename MainController to TablesController and simplify routing a little bit.