Core entities class library