preparation for implementing terrain generator

chunks can have different side lengths again
setting to define percentage of view distance where chunks are loaded
moved old terrain generator into own file