Added an OptAinet constructor taking a config file.