rename custom.js to flow.js
move to frontend to subdir
update readme