more testing and structureing for gpio stuff..
added device try test and document