More documentation and output organized for debugging better