add model for purchases and resources
purchase
display formatting
purchase merge
more purchase setup