Added initial code provided by Android Studio. Fixes issue #3