Updating class methods

Updating all the Api class methods by setting the paramater/return types
of the dll function calls.