Added Database Connect

+ db.php

- index.php for redesigning