Turn script/build_ck.rb into class.