Modify poll/view to base class.Add static file.