refactoring view + helper + config folder