included Repository pattern and example in the Main how to use the api