Added Default Repository option

I've added some code to be able to define the default repository through config file.