New database structure

* Adds `share_id` to blocks table, see #83
Merge pull request #84 from TheSerapher/sql-structure-update

New database structure