Almost got everything able to be compiled