add base class
Merge pull request #8 from jgpawletko/add-base

add base class