moved logic into Model
added the ruby racer