implemented the repositories 
to do: 
- select queries
started work on settings