implemented embedded model and separated sort model model from the query model
Merge pull request #1 from OlegIlyenko/master

implemented embedded model and separated sort model model from the query...