Code cleanup and setup instructions