Adding interpreter namespaces, adding JSON interface