refactored name to Representor and updated spec setup