dataSource classes functional

- Now able to write to DB
- Able to retrieve file from DB again