Adding cmake build files

Hi, 

I created a modularized cmake based build configuration. 

Please tell me if you need me to make any modifications.

Cheers,
/Marius