turn into engine and add app folders for template editor