implemneted logic for method stumps
created repository service for switching repositories