* Clean code and cmake files.
* Commands working now.
* Fixed some warnings in windows.
TODO:
- Fix some minor bugs in linux console.
- Fix telnet console in linux (Possibly this is because the client on linux).