Implement Android auto-boot on device startup. Implemented Android setConfig method. Implement Android onStationary method. Refactoring and cleanup.