moved grassdatalookup and readflowtable and types