refactoring: created basic Store class