Create cmake and move things around, use warnings