added coveralls, cleaned up useless code