It shall be the duty of the building inspector of the city, as formally designated by the city, and with the aid of other city agencies or officials, to administer and enforce the provisions of this chapter. The building inspector is hereby given the authority and responsibility to enforce all provisions of this chapter.