url parsing

removed factory approach, refactored url parsing