Creating functions and registering bootstrap script
Taking out default content in index.php and adding the loop