Added feature specs.
Refactored lib specs to /lib folder.