clean code
delete file and basich actions for purchase