added readme
renamed files, fixed makefile and added parameter for non-id primary keys