refactor Upload model
create Revenue class
create Purchase Loader class