Finished the core functions of the NBT-library