name is now target
initial oo commit, url moved out to own class