moved tests to their onw directory
url and parameters parser with tests
more generalized and uncupled code with tests