Merge pull request #5 from KnowSheet/review

Polishing stats core
Android cleanup & compilation fix
[android] Added first unit-test