port slartibartfast and separate templates to views/