Add department functionality
Edit department functionality and db changes