Refactored DashboardApi to supervision-api project