styling view and cleaning erlang backend