Start rewriting task framework to ruby

Change-Id: Ice5082ebbd6c9dbbc84d2efcd6ef376e3598bfe3