Create Entity class