refactoring default-loading pattern out
added defaults file loader