added main app and  templates configs