Merge pull request #1 from Max-Levicky/dev2

Regular commit
Fix login, add base service, model and controller. Some more changes.
Try solibase, add fields in Work model
Add BaseDAO
Not worked version
Right using of generics in DAO.
Changes in works module.
Regular commit
Fixing dao injection in services. In progress.
Creating DB tables from models