Had duplicate set of api drivers in the directory - deleted

added define guards to xxxxx_api.c files for device.h peripheral gating