move perspective matrix function to Matrix4 class
move view matrix function to Matrix4 class
hide some implementation details of AppView class