added rpsls class and made the console version working