C#!

Transferred everything into C# from Javascript, and updated the picture
taking process.