First version of ruby implementation added