Added ApplicationLoaderListener and loader logic to decouple references (like ConfigLoaderListener and ClientLoaderListener)