Added dynamic loading option, docs and fixed build directory