Added many features such as upgrade or farm to buildings