Change: intorduced index.php

Still work in progress
Change: updated template file.

Work in progress, yet
Change: added initial functions to find used method