move views into separate files, fix multiple submission bug.