Format code.
Add TakeHelper class.
Move details for taken logic to TakenHelper.