Initial main loader.