First commit. Initial API calls and some memory alteration functions.