Added boolean debugMode, edit Yourself!

Removed unused import java.net.*; / java.net.URL;