8 Directional Lock added.
Viewport config added.
Code Cleanup and Format.