Adds coveralls support.
Reorganised module structure.