adding script to convert domains to api classes to handle return data; basic scaffolding