Add some utilities and some initializations
Some fixes for building
Add glob matcher