move complete and incomplete task logic from db.rb to use cases
All non-basic methods moved from db.rb to use cases. All tests passing. Terminal client seems functional