Clean up duplicate php code to inc file
-rw-r--r-- 35147 LICENSE
-rw-r--r-- 5914 README.rst
-rwxr-xr-x 346 countercron
-rwxr-xr-x 292 devices.py
drwxr-xr-x - etc
drwxr-xr-x - html
-rwxr-xr-x 977 record.py
-rwxr-xr-x 3463 run.py