Add base class

Probably shoudl convert to abs.
Use pbr/tox

Make things easier for tests