parse url into controller action and params