first debug cout code
draft of the pin manager