Organization improvements.

Handlers are now defined in the app file.
Added ability to start several sehs based applications.
Sehs is now library application.