Added Namespace class, basic functionality, tests

re. #26