Consolidated header and database connection code. Profiles grab student information.