WIP Adding cmake as build system

Signed-off-by: Rodrigo Goncalves de Oliveira <rodrigo@thecoreme.org>