Moved loading levels into its own source file.