Got everything compiling, logic's not all there yet though