modifying routes and adding samples
generated a sample model
added final logic
fixed error
changed readme