Counters and privates should be static
Refactor examples
Add travis