Refactored code

ANI Config file parser added