Refactoring adding and removing facet fields and facet values. TODO:
move all parameter checking to shine.java