Most backend monitoring code done