Move shared code to nornir_shared