Basic Skeleton of Layer System

Also added hooks for world gen into Terrain Control Code. It's not
strictly necessary to separate the logic but it will help keep things
cleaner.