Fix reading app id and key from input

- fix typo (this is not scala)
- add cache for entered data
Merge pull request #7 from fidesmo/fix-input-reading

Fix reading app id and key from input