Redoing file structure; Refactored box creation code.