added enum for event types, changed input for device builder, changes in message system, updated config, all modules adjusted to event changes