make OS-specific functions contained within files (only run winrm on windows targets, ssh on linux, etc.)