Code cleanup and warnings suppress
Merge pull request #3 from mikhail-aksenov/formats

Code cleanup and warnings suppress