move static files into app folders

add some online functions anb