Added an api.h file

so we can just include api.h and it will import all the needed stuff