It shall be unlawful for any person to engage in the construction or erection of any building, whether commercial, business or residential unless such construction is accomplished in compliance with the various construction codes adopted by this article, except farm buildings and sheds.