Routes updated, functions mostly as the old site in the new framework