[dev]refactor and comment for ViewController