Use array_map
Fix typo
Expect encoding
Add travis scripts & build indicator