Added DB support and example.