Converted to use Mono.Cecil.
Additional updates to make mono.cecil work.