Create app-specific directories and move code there