Create SaveToDatabase.ps1

Functions for handling exports to SQL database