Make it OK with elixir 0.14.2

- Mix now support config file so no need to generate erlang config file
  anymore
- Map Struct instead of records