Added cached decorator
Improvements on resource reservation
More improvements on resource reservation