Added exec command to execute commands via ssh2 on remote machine. Added command-line parsing; set default loglevel to LL_INFO