Updated the functionality for the Farm with new interface
Fixed a bug in Resources