Changes in files and structure.

- Move api and websocket entry files one level up.
- Do not instance Cuba directly for api server, subclass it instead.
- Rename 'Event' class to 'EventHandler'.