Added purchase model and created database table for it
Added the ability to store purchases and display purchase plus fixed creatPurchases.rb