First attempt for data model and REST api