Building RPSLS class