reorganize code to be easier to maintain and understand.
significantly improve code comments and organization further