added support for stage loaders, improved the stage system