Moved stuff to the header file so it can be accessed by everything.