implemented entity interaction data model, a lot test to do