Reordering utils-file to avoid compiler error when loading entire file.
Split fk solvers into smaller functions. Altered test cases accordingly.