Implemented BaseEntity

Added BaseEntity.
Removed Table entity.
Moved Ball setUpdateComponent method into EntityFactory createBall
method.