Fix render and heirarchy in view

  Fix rendering of tables
  Simulated heirarchy among views using classes