Skeleton of the offline chain is added.
Improvements.