First version compiling and almost running perfect