-- fixing copyright info
-- adding tools.namespace functions; fixing debug statements