The executive, administrative, judicial and legislative powers, authority and duties in such municipality shall be distributed into and among five departments, except that in municipalities having but three commissioners, three departments shall be designated and provided by the consolidation of the first and third departments and the fourth and fifth departments as follows:
N.J.S. § 40:72-4