Rename keytype and valuetype in conf file

Makes function args and conf file naming consistent