Refactorrrr

simply refactored and commented stuff. Wanna push before my laptop dies lol