ticket:37 Added 'type' field to EventResource
ticket:37 Made EventResource return verbose event type
ticket:37 Added event type support to map
ticket:37 Fixed timestamp default value bug
ticket:37 Refactored a bit