delete unnecessary files and configure the app