Switch to declarative sqlalchemy models
Start converting layer functionality to use models
Add point and segment models