Parameters file loading implemented,seems to work