Made some changes, making the struct a pointer thingy. Does not build, need to work on other stuff for a bit