Added coinpurse and updated coin