Add RESTful API for departments
Basic homepage displaying all departments