Convert to mix

But keep Makefile and rebar to support testing on Travis