Extracted uri parser in its own class
Allowed usage also in controllers