Note: Not all the buildings/resources can be moved, if the item is shadowed after you enter moving objects mode - it can't be moved.
To move objects:
1. Click the green edit button:
2. Click and hold object you want to move with a left mouse button. While holding a left mouse button you can drag and place it anywhere you want.
3. After you've placed the building on the new place press confirm button:
To delete objects:
1. Click the green edit button.
2. Click an object you want to delete.
3. Click on the button with a yellow bulldozer:
4. The confirmation window will appear, you can cancel or confirm the deletion. Sometimes it costs gems or coins to remove the building.