Apply map and structs for latest elixir
Fix map handling errors
Update readme