Fixes formatting on index and layout, adds database connectivitiy, creates basic raw ideas