Restructured to provide Interface model for composition and Base class for inheritance.