in my opinion, first sentence is correct, but the second one: The only thing, they were really interested in, was where do we get money for it from.
What they was really interested in was only where do we get money for it from.(I dont know which version of the first one is nativer)