Move variables promise type to separate module
Move classes promise type to separate module
Remove unused debugging output
Merge remote-tracking branch 'dottedmag/master'