refactored to modern syntax
to do list:
1 - remove KVO and implement NSNotifications
2 - fix cell height in add class table