Add default resources to box.json.
Clean main.
Clean
Move middleware forward.
Remove ?> at end of files.
Clean.