extended readme with example database class