Lots of work refactoring RPSLSApplication. Getting rid of exxcess
variables and simplifying code