create entities class