Got the base libraries to compile, and hopefully to be correct...