Support multiple ids
Add main method
feature: Reading and writing to files
refactor: Rename ids to keys
docs: update README