Added proper config file loading

Proper config file loading per book, with merge