Delete a lot extraneous code in my project