Changed all paramters to named and added config loading from file