simplify/fix resource linkages, add routes spec