Merge pull request #7 from Issic47/master

Update: ViewController & fix bugs: memory leak
fix some bugs