Add tidying up methods.
Add database open/close.
Delete duplicate Runnable class.
hmm