Implemented EditDeal
Some refactoring
remove DataBase