Dev update logger

Simple refactoring to use Logger wrapper
Additional error codes