started procedural generator
Fixed some compilation errors
Fixed some stuff for Greggory