Update and rename index.php to api.php

includes test data for weather api. Remove when testing done.