adding ejs engine
refactoring react components