Fixes JPA mapping issues, adds event panel class