remove fixed seeds used for debugging
restructuring of code to make all C code within single library