implemented simple xml repository