move subtledata.rb under lib