Rewrite & Copy metasploit classes