api.php

api.php is added and 
at .htaccess is modifed.(Rewriterule about api is added.)