fix rendering identifiers
add app dependencies to requirejs config
update requirejs plugins
update reference to default require.js config
add module as function
use function main as module function
update
update after refactoring module async and resource