adding Entity class
Fix a small mess up with a capital G