refactoring
ported superres to T-API
temp commit
temp commit 2
temp commit 3