Configuring before instantiating application