Refactor cube generation into function
Add camera position infobox