Added labels and events to json file.

They will be usefull with following commits to automate events
registration.
Changed the way events are registered.

They are all handled by json files. For now with exception of main menu.

A lot of code was cleaned and sanitized in this process.