A lot of obselete functions removed, more organization needed

- Other functions and variables are still out of order, vars
aren't ideally created or initialized, everything needs to be
organized.