removed some constants

- removed constants for adding and deleting task
changed methods to void

- add, delete and edit methods changed to void
- modified code to throw exceptions if unable to add, delete or edit