Fix for compile
Re-organize common crate, and add math crate