Refactored a proxy for recording input from microphone and saving it on
internal storage.