Some core modifications and some new libraries set up