factored out friar code
factored out cube.js
fixed attribute vs property issue
added keys to render