While Curtis G. Smith appeared in court Tuesday on weapons charges, police and code enforcement representatives descended on his Middletown home to start undoing the illegal construction work there.