Add mock fs module for testing
Add rewire for testing
Update dependent, rename and move modules.