[build] removed debug commands
[refac] first part of the refactorization that simplifies the asynchronious implementation and prepares xively for cyassl