Library ruby file

@truffaut @sdevani
This is my library file. It's not very complete. I will try and work on it more this weekend.