The office of building official is hereby established in accordance with the provisions of this chapter. The duties of the building official shall include inspecting premises, issuing building permits, and certificates of occupancy for uses and buildings, and ensuring that all such buildings and uses are in accordance with the requirements of this chapter.