Decoupled ModelParser from Eflux-2

ModelParser can be easily used in other algorithms such as Eflux-2 and SPOT
removed redundancies
refactoring
continueing to refactor...
SPOT implemented