database update

- SQLite database backend replaces old CSV data handling
- database extended to cover more data handling