renamed index and index_dev.php to app and app_dev.php to match conventi...

...on, updated common