New database structure

* Adds `share_id` to blocks table, see #83