moved assets up a level and moved logic to module as it is boilerplate