Began template structure

— broke index.php into template pages, so the header and footer can be
user by other pages.
— inserted folders for config files