Used Guids everywhere

Set all primary keys to Guids