Taking a break to think about wheter or not to remake the script with constructor
Re-organized the code. Still in progress...