joaomdmoura / machinery Elixir 568 56 Elixir State machine thin layer for structs machinery state-machine phoenix elixir