Implement datamodel

This data model is OK or not.