convert to dashboard/mod.rs; state snapshot, meta inputs, tombstones, and misc api handlers move to their own files