Rename some functions
Remove macros
Remove global variable fp
New parser for IEQ files