Migrate Mainframe functionality to mainframe.coffee
Version 0.1.10