added function to parse module/function from query string