Rename lib files.
Add math lib.