create purchases controller and fixed styling for listing index and show
add purchase model