minor optimizations
added comments
avoided use Sphinx
removed sphinx
removed unneded store reload