Adding base classes and methods for storing photometry