Move to ruby

i'll look at it later, thanks for suggestion