adding loader class