refactaring: delete rgpio modules fuctions.