Setting coveralls
fix for specs
Starting refactoring by using a class instead of a module