Totally changed script to create DB

Totally changed script to create DB using variables by kpro
and change id => Guid