Added database stuff and an examples template