file structure adjustments for rails