add rebar,makefile, examples for intervals on readme, some fixes