Adding new class to manage train and test of reinforcement learning