updated swagger docs, refactor reporting system, fixed tooltip issue, refactor controllers