Updates, fixes and additions (How do I even write so much updates?)

- added profiles
- moved actions from events to profiles
- code reorganisation

...

...

..sfen.