Remove lib/index.js
Add utility functions