Extracted various chunks into separate methods
Merge branch 'master' of https://github.com/QFrameTK/TME