added singleton class;
added database class;
added models (language, repository)
simplified languages_worker;
extended sqls (added some constraints);