Some minor changes

utils moved, boxA bug fixed (multiple "prepare data") etc.