Added hashLib, some defines and a few string functions