Filesize maintenance, terrain multiplication.

Cleaned output data. Finished modularization, and added multiplication
of terrains