Added banner to viewclass.php

Also did style refactoring