improvements and fix

- view config path fixed
- added support for classes