rename publib to package

- rename the `publib` template to `package`, as per #55 
- change the webapp template to be stored as a directory in `templates/` instead of in a single source file