added constants

- added constants for edit
- added constants for exception handling
changed strings to constants