added functions folder and files