fix readme
split params, extract key creation fn