[core] Main partly refactored.
[settings] Added App section. Added app size.