joaomdmoura / machinery Elixir 567 57 Elixir State machine thin layer for structs machinery state-machine phoenix elixir