added require plugins. moved app config to json and load with text + json plugin