Fix queries for get and delete
Remove By_id class method