Updated the API and fixed a couple things in the .h file