Refactor purchase creation into Purchase class