removes ring.erl
tiny refactoring