Added Exists Function + some normalisation

Normalized some of the comments (// -> #) & newlines.
Brackets on newlines (I prefer this because newlines aren't so hard to find), the mix multiple styles kind of made it a bit strange to maintain.