Move scripts logic to classes and speedup tests