refactor Requirement controller and panel so that we can just get a requirement from requirement panel