Add models Function and Department