cleaned up unused files
added changeNS function