Beautify cmake file

Better structure for cmake file. We should keep this easily changeable, including keeping stuff that elongs together at the same place.

I made all cmake commands lower-case, I think it's easier to read (and write!) this way ?!