Add QFECalculator
some code fix