Starting and Finishing the Application