Added some config options and organized some code.

You can now configure dirt/clay gravity.