Revert "problems"

This reverts commit 7412c17932ce0264ffb94743c5456a92e68e948a.
fixed problems from merge
combines foundations functions with functions.php and put comments-function in own file