Use installed field in database for game class
Check directory existence when removing game
Set installed field in installer