added Loader class