Put the logind interface and the direct shutdown calls in their own files