Move index to templates, use flask url_for statics