Deleted Unecessary Files

Deleted unecessary files and fixed some code redundancy