updated namespace and logger to be written as classes instead of objects