Code rework:
- Everything inside classes now.
- Unused files removed.

Couple of bug fixes:
- Line separator changed to from rn to n. Seems to be making trouble with Novell Groupwise. Hope it doesnt screw up anything else now. Seems to be working