adding TPSSolver classes