add additional sql functions
update readme with additional functions and database configuration