Added basic views and templates, plus some model changes. (fixes #3)