Added Logger and logging

Replaced all System.out.println()