Adding object and view classes