Finished working project

Fixed SQL insert, modify, and datasource problems