Added parsing of configuration into object