Initial commit of mcapi.rb