cleaned up old files and worked on getting date queries to work