refactored directory structure and ignore for prodcution