pending test, all logics done
added spec for file creation
fixed module resolution issues