Merge pull request #226 from AntonShevchuk/master

Updated Db\Relations mechanism
Merge pull request #227 from AntonShevchuk/master

Fixed REST Controller
Merge pull request #228 from AntonShevchuk/master

Small refactoring of Auth package for simple extends