parse version, readall, exports