Changed basic store to abstract class