Moved Logger to Seperate Class for Reuse