add Makefile and rebar.config