Remove query and memory class (refs #104)
Move capability related subclasses to capability namespace (refs #104)
Move NamedStrings to private and provide global interface for named strings (refs #104)