Change all references to src directory to lib, npm compliance