upgrade fig to 1.0.0
partial update (not completed)
refactoring & unittest partial update