Implemented entity class as far as it is specified for now