- added factory for retrieving data
- now I just hope that generics will not be needed