Command Pattern implemented

Partially implemented - only 'new calendar' and 'new appointment' works.
Will clean out unneeded code after finishing rest of the command
pattern.