adding db versioning closes #54