For any or all said purposes, the Council may divide the borough into districts of such number, shape and area as may be deemed best suited to carry out the purpose of this article. Within such districts, it may regulate and restrict the erection, construction, reconstruction, alteration, repair or use of buildings, structures or land. All such regulations shall be uniform for each class or kind of buildings throughout each district, but the regulations in one district may differ from those in another district.