revert image upload
integrate filestore into datastore, introduce datastore id
remove limit, offset feature
make threads id conditional