Migrated in all functionality from no longer used kenyautil module