Database Addition

Added buffered input / output streams for very fast saving / loading.
Previous loading time (100k tests) ~4000 ms, Current: ~450 ms. Previous
saving time: ~3000 ms,Current: ~400-450 ms.