Events clean up

Added some comments and removed local db support