As for categories, most recently wrote on the subject to the question of How to bring all the posts from categories?
On the second question - can. Use for this configuration
Create example file config/cms.php
'news_per_page' => 10
And get this value from anywhere in the program using the auxiliary functions: