Massive re-structuring, comments, security improvements.

My oh my...