Added GP Events and added proper loading from database of events

fixes #262