Change Functions to C Functions

Will probably make this customisable.
Add chunk name option for threads

Also disable Garbage Collection for the time being