I finally got how classes work, it's like making a index of a book, so you don't have to read the whole book to find something, where the chapters would be functions you programmed yourself
And you can initialize variables inside the functions, so you can spare memory on that too