Rollup migrations into single file

The old migrations contained code that was broken in respect to the current code base.

Resolve issues #111, #116.