Added Default Repository option

Add some code to be able to define the default repository trough config file.