Added base class, and modified readme