The Residential Building Code for One- and Two-Family dwellings shall apply to the construction, alteration, movement, enlargement, replacement, repair, equipment, use and occupancy, location, removal, and demolition of detached one- and two-family dwellings and townhouses not more than three stories above grade plane in height with a separate means of egress and their accessory structures.