REFACTOR: EspApp initialization