rename/format some data model tests
docstrings
Move all data models code to datamodels.js