Dql fit incorporation

Included work with "dql-fit" library.