Finally finished the core of the system. It should compile now.