did some refactoring
got all spec pages to work but main_spec. I abandoned that for now