Implement DB migrations [closes #16]