Finished refactoring, added interfacde library.

Finished Common library refactoing. Added window interface driver
library and refactored it, to meet the new standards.