i forked to foss-np!

has some refactoring and stuffs!
its better to have the all part of file in one file as function!