Store the PIN in SharedPreferences

Renamed the packages
Added SharedPreferences support
Added onResume support