Creating directory structure and organizing files