Stripped the entire code off.

1. Rewriteing code.
2. Hopefully with more concentration and
3. In a way you can validate.