Changed singleton Params to ints and stored model as global MODEL