uses double 2.0 and makes style locally consistent
Merge pull request #8 from efernandez/cleanup

Constness and 2.0 double