Main Street building had no city permits for work to be done prior to deadly fire