Cleaned up Loader.

I have re-factored Loader.load to use better and more precise dart code.
Also fixed a bug where if .loadConf() where unsuccessful the load() would return success and leave the application in uninitialized state.