rails and backbone structure for designs