Format document to Visual Studio standards

nicer than Xamarin
Refactor classes into seperate files
Add specs for external angle and perpendicular line