Transform config.java to app_config.rb