Fixed issues with non-working shutdown service.
Updated logic to read password from console to take advantage of
System.console.
Dependencies are taken by default from embedded dir but the PAP
can be configure to take stuff from the os.