More structured

No hulking methods left;
main has been split into smaller parts, including tips what it is doing;
conversion of the whole file now, not just a part of it;
recording added