Chunk based storage
Null checks and remove useless sync blocks
Desync
Merge pull request #69 from t00thpick1/master

New Internal storage and tracking of res's