crc change and combine files

replaced crcmod with built in crc table.  combined function and queue
files into the main file.