Removing unwanted files

Removing unwanted files and optimized code