Basic ruby script now working
Add link to API docs
Added support for options and optimized things a little