Added application and public directory configuration.