smok refactored view controllers structure