Refactoring + fake database
redid class for proper naming