Refactor REST API parser

Refactor REST API parser (parse url to use the good method = jersey but
without any lib!)
Begin parameter management: the idea is to used parameter as state =>
later need to transform paramter to StateValue and StateName.