Replace buildin logger with logging package

Removed the Logger class
Changed some levels of messages

Improve logger output

Output messages as warning or error if needed