system: prepare for sharding

Signed-off-by: Sergei Ianovich <ynvich@gmail.com>
device: prepare for sharding

Signed-off-by: Sergei Ianovich <ynvich@gmail.com>