Supported IndexDB

Sources refactoring
Supported big files upload
Closes #332