changes related to cleaning fe's application class

also move cost to fe var