move functions to files in private folder
remove files moved to private from root