1. implemented the extension for eigen, casadi. 2. re-orginized the libraries.