started redoing view system, added setDefaultView