Seggregate mouse and keyboard callbacks into Listener interfaces.
Simplex is now deprecated, since DUB package libnoise-d provides much more:
http://code.dlang.org/packages/libnoise-d

Also simplex noise is patented!
comment