refactoring: unhardcoded prefs keys
refactoring: moved map fragment
refactoring: extracted classes