made more DRY input dialog function. Refactored BTSettingActivity UI
created Modes package and moves respective classes there. Also renames some packages
changed package hierarchy