improve tests, update DQL queries
update dql query for word entity
decomposed on atoms methods in Db class, little modify in YpTest
now, its alpha version of controller for application