Base entity class with collision detection

A simple extendable entity class with collision detection for
rectangular geometry.