Building codes may have a purpose when they have safety ramifications,, but some of them are ridiculous. I can build a shed type structure in my back yard up to 100 square feet. Anything bigger requires a permit. I can do 10x10, 12x8, 50x2 if for some reason I'd want that, just not bigger than 100 sq ft. AND, get this. If I wanted to run underground electrical to feed it, I need a permit. However, I AM allowed to run an extension cord from the garage without one. So if I wanted a little recording studio out there, I could build a 12x8 wooden structure with a raised floor, insulate it, and run an extension cord for power from the garage. I could have a fridge out there for bottled water, just not running water. An electric heater. No gas, no sewer (potty time would have to be au natural). I wouldn't do that, as my studio is in my upstairs rooms and I don't use it much, but that's how dumb some of this is.