new feature, fixed handling of add etc

added "target" (as a selector) to allow other views to be appended to.