Clean up for library

remove unused application module and other start functions
remove registered procs from .app
remove env key from .app