updated registry instantiation to take a hadoop conf
very minor cleanup