move ranks and domains from appilcations controller to visualizations
specs intermediate