Implemented dev mode and improved MLogger