add purchases model and created db table for it
added the ability to store purchases and display purchases