[WIP] Compile ok, still lot of stuff to do -_-