added manager to namespacing, unit tests. reworked some classes to handle arrays passed in