1. Renamed Lib to FlyLib 2. Some refactorring
Promise logic fixes
Fixes in joined promises work
Added Debug.enable function
Some modifictations to the test file; joined promise logic fixed