WIP API documentation.

Fixed the issue of reloading modules for build on watch (I completely clear the cache like a horse before running the build)