Logger added, all System.out calls substituted, verbose option added