Adds new logger module + replace console logging with logger.

Adds logging of command to spawn and exec
Updates platform bin/ scripts using logger