refactored rpsApp and consoles