Add configuration object and processing URL params to config