Split "math" package into "math", "math-lib", "math-doc" and "math-test"