remove api/base_controller_decorator.rb
site middleware replace it.
remove unused locales
remove debug info
add more translation
rename template_text.slug to permalink
improving temlate import