create config and App