Rewrote routes to get component registry working