Create SMapi.rb

very nascent and untested