changed file extensions to php

also updated maps