added configuration file and its parsing