Modified charges controller and cleaned up duplicate code from homepage
Added purchase model and created database table
Added the ability to store purchases and display those purchases