updated docs and added export macros for MSVC