add dim support in obj[]
add data.table dependency