Added API skeleton for easier implementation of new APIs.
Added run return value and BF.cl termination.
Moved data pointer to Host struct.
Cleaned code a bit.