fixed make file and added an example database