config is now an array of yaml files
parent app initiates before conf is loaded
debug mode is pased as paramater instead. so the yaml can be cached in the future
config is now cached