Built events API, fixed lint, made small DB changes

Again, this is a GET req.