Remove extra public files.
Some refactoring.
Add gems that are needed for themes to work.
Add generated routes.
Use RT layout in application controller.