It shall be the duty of the building inspector and he is hereby given the authority to administer and enforce the provisions of this ordinance.