Refactoring changes
Refactoring.
Add java gpio init.