Basic structure with sessions, database connection, templates from open source TomatoCart