Added config file support, changed recipes and texture dependencies, and
cleaned up code.