wip: Refactoring and Documentation
Merge remote-tracking branch 'vishwasbabu/mifosx-151'