First refactor

All the UI projects are removed, as well as methods to save blobs (never
useful) or export to XML.
COM stuff is removed.
In addition, the code is reformatted.