changed index to php, further interface changes