functions

make file "functions.php" and add "main" function of all time