RestClient - code refactoring
Example - add Main page