Adding possibility to switch saving storage
Stats functions made configurable
Directory structure change
Autoloading storage layer based on configuration