Add method to load configurations from config
Add some constructors