Rework the index file

removed meta refresh, login and stylesheet, made the index more pleasing
to the eye, added php refresh with php backend control, updated some of
the missing code that gets Id, type, etcc working out of the box.
removed

Not needed
added config

Now all the setting are controlled from here.
add extra image