Clean up opal.rb, and remove depreceated module methods