Converted GPIO module to submodule