- added paths module

 - fixed various bugs