Refactored time & gpio modules for the 400th time