Finished initial ToGL port. (Still need to port dependencies)