Added delete API and added the respective commands

Additionally fixed an issue with checking the balance of a valid account that doesn't have a record for a currency