Implement save and delete record methods

test

Fix bug caused by inverted terinary

Add c method to delete record

Add save and update methods

Add tests for save functionality

Update query.init_object