using UserDefaults when creating new event.

using a globalConstants file to hold all constants.
Rgistering default values of user defaults
Removing some comments