added documentation;
refactoring;
added consts for default values;
added new init;
added file size limit for first level cache;