Added update_character; Refactoring, created DB class that handles DB requests only