Logger implemented
Fix Logger bugs
Logger now a singleton