[fem] moves code back to fem_solver
msfem compiles again