Clean up of tabs and indentation + adding rebar compilation