added routed closure to initialize projects and cameras tables