added enemy class which extends entity