moved assets function to a proper class
assets have proper wrapper class
typo