Add basic functionnality and cmake file