Refactoring AdbHelper

#304