Working

It is far from being fixed, but can be compiled again
Working

A few mistekes were made