final touches to code and remove extraneous files