switch to exploit module environment

switch to Msf::Exploit, change the necessary declarations, start to
change the exploitation process
basic payload execution through OS command execution