Added configuration parser function. Ready for model testing