Pack app at end of init.
Fix pkg name.
Add application-specific tests.
Remove obsolete main() call.
Tell about generated script in README.