improve CardboardApp
reformat all directories
add jsdoc