Added buggy terrain class

Minor changes.