you need to speak with the building department in your area as to the codes involved. a pole building is not acceptable, in many areas as a residential structure.
A building code is a set of rules that specify the minimum acceptable level of safety for constructed objects such as buildings
The major model building code used in the United States is developed by the International Code Council (ICC), the International Building Code (IBC).