Refactor renderers to use base classes

A new ABC has been created so that we ensure that all the renderers
have the same methods.
Merge pull request #6 from alvarolopez/bases

Refactor renderers to use base classes