Refactored directory structure for ruby scripts.