port slartibartfast and separate templates to views/
Merge pull request #34 from gasolin/master

port slartibartfast and separate templates to views/