setting up application with new code