Add portal events and Maven project

- Make Maven project
- Add custom events related to portals