flattening out rails app structure.