added new base files
Added basic loop to index.php