Build out views and fix several syntax errors.