Add source and spec files
Add optimist module
Fix param name type