fix some path issures
fix some path issures
bugfix: database cleanup now runs
implement chunk indexing