Reorganizing the directory structure to add someautomated tests.
Moving the decice setup code to common.c
Adding a skeleton for testing
Adding boilerplate files for autoconfig
Fixing copy/paste typos
Adding dependencies to OpenCL
Changigng the project description in automake tool files
removing useless library depencencies

I don't know why this is not working
cosmetics and cleanup
Move global variable to common.h