1. Added Manager class and repository base class