Initial implementation promisify handler for IfStatement
Initial implementation of WhileStatement