Added database sample code file