First debug of basic components: it is compiling, no memory leaks.