Removal of unnecessary code

Realized that my file contained a lot of unused and useless code.
Deleted.