Configure app from config file