refactored for Android version bootstrapping and 
UI.