added ability to specify namespace base name and output file name, updated readme