Added cache stats.
Added cache stats to console.
Fixed printing for cache stats.
Fixed some console commands.
Fixed some console commands.
Improved pkg creation.
Merge branch 'test' into dev