Not fully ported, but soon!

Ported some functions, but today they are functional!