some progress on router. believe functions are correct, but need to figure out better way to destroy and render views to get it to actually work