Added SqlQueries (Needs to be cleaned up).