All TODOs resolved, the code is fully commented