bunch of new extension methods
supported by tests
fixes here and there in parsing stuff, files etc