Minor TODO Fix the way you have
setup logging and debugging messages.
Cleaning stupid logic mistakes. Rewrite.
Adding a log utility. Problem with streams.