Loading logic isolated into Loader class