make path argument receive sources object
remove path extension and fix posterType issue
Merge pull request #18 from amazingSurge/master

make path argument receive sources object