added code for simple static views and fix base rest view classes