fixed post route
fixed save and update methods
fix query method
fixed delete method
added findById
added parameters to query method
Merge pull request #4 from sammla/model_fixes

Model fixes