Permission for external storage added.
Class added to write data to external storage.
Class added to control external storage.
Unused code deleted, init() and addListener
method added.
Unused code deleted.